package com.example.dormitory.entity;

import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import com.example.dormitory.utils.Entity;
import java.util.Date;


/**
 * 
 * @author 596183363@qq.com
 * @time 2021-11-17 11:33:51
 */
public class DormitoryNumber extends Entity{

	/**
	 * 
	 */
	private Integer id;
	/**
	 * 
	 */
	@Length(max = 0)
	private String prefix;
	/**
	 * 
	 */
	private Integer begin;
	/**
	 * 
	 */
	private Integer end;
	/**
	 * 
	 */
	private Integer buildID;
	/**
	 * 
	 */
	private Integer floorID;
	/**
	 * 
	 */
	private Integer size;

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getPrefix() {
		return prefix;
	}
	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}
	public Integer getBegin() {
		return begin;
	}
	public void setBegin(Integer begin) {
		this.begin = begin;
	}
	public Integer getEnd() {
		return end;
	}
	public void setEnd(Integer end) {
		this.end = end;
	}
	public Integer getBuildID() {
		return buildID;
	}
	public void setBuildID(Integer buildID) {
		this.buildID = buildID;
	}
	public Integer getFloorID() {
		return floorID;
	}
	public void setFloorID(Integer floorID) {
		this.floorID = floorID;
	}
	public Integer getSize() {
		return size;
	}
	public void setSize(Integer size) {
		this.size = size;
	}
}